<h1>New Repair Record</h1>
<% form_tag :action => 'create' do %>
	<div id="div_customer">
		<%= content_tag :span, "Customer Record" %>
		<%= select( :repair_record, "customer_record_id", @customer_records.collect {|c| [ c.lname + ", " + c.fname, c.id ] }, { :selected => params[:customer_id].to_i }) %>
		<%= link_to "New Customer Record", :controller => :customer_records, :action => :new %><p>
	</div>

	<div id="div_repair">
		<div id="subdiv_issue">
	    	
		    <%= content_tag :div, (text_area :repair_record, :note, {:value => "COMPUTER MODEL: <br>CONDITION: <br>PASSWORD: <br>DOES COMPUTER BOOT? (y/n): <br>REPAIR IF $60 OR UNDER?(y/n): <br>Dropped off adapter?(y/n): <br>Other items dropped off:<br>SERIAL NUMBER: <br><b>Repair Description</b><br>notes", :size=>"70x9"})  %>
		</div>
		<div id="subdiv_status">
		 	<b>Record will be created with an Open status.</b>
		</div>
	</div>
	<div>
		<%= submit_tag "Create" %>
	</div>
<% end %>
<%= link_to 'Back', :controller => 'repair_records' %>
